import Vue from "vue";
import VueRouter from "vue-router";

import pingjia from '../pages/pingjia/index.vue'
import qingxiwanbi from '../pages/qingxiwanbi/index.vue'
import unpass from '../pages/unpass/index.vue'



Vue.use(VueRouter);

const routes = [
    {
        path:"/unpass",
        name:'unpass',
        component: unpass
    },
    {
        path:"/pingjia",
        name:'pingjia',
        component: pingjia
    },
    {
        path:"/qingxiwanbi",
        name:'qingxiwanbi',
        component: qingxiwanbi
    },
    { path: '/', redirect: '/unpass' }
]

var router =  new VueRouter({
    routes
})
export default router;